package com.example.mapper;

import com.example.bean.Comment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @author wjf
* @description 针对表【t_comment】的数据库操作Mapper
* @createDate 2022-10-02 14:48:04
* @Entity com.example.bean.Comment
*/
public interface CommentMapper extends BaseMapper<Comment> {


    List<Comment> getComments(@Param("articleId") Integer articleId,@Param("bookId") Integer bookId);
}




